/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/cat.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __C2218FF2_43CF_4E2F_BB71_787E345BFCFC__
#define __C2218FF2_43CF_4E2F_BB71_787E345BFCFC__

namespace http
{
    class i_response : public xos::i_release
    {
    protected:
        virtual ~i_response(){}

    public:
        virtual int set_connect( i_connect * pConnect ) = 0;
        virtual i_connect * get_connect() = 0;

        virtual xos_box::i_str_property * tags() = 0;
        virtual xos_box::i_list * send_list() = 0;
        virtual xos_box::i_list * body_list() = 0;
        virtual xos_box::i_list * cookies() = 0;

        virtual int compose( xos_box::i_msg *& pMsg ) = 0;
        virtual xos_box::i_str_property * prop() = 0;

    };

} // http

#endif // __C2218FF2_43CF_4E2F_BB71_787E345BFCFC__
